# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'AddNewDialog.ui'
#
# Created: Fri Jan 21 02:23:00 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_AddNewDialog(object):
    def setupUi(self, AddNewDialog):
        AddNewDialog.setObjectName(_fromUtf8("AddNewDialog"))
        AddNewDialog.setWindowModality(QtCore.Qt.WindowModal)
        AddNewDialog.resize(471, 254)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(AddNewDialog.sizePolicy().hasHeightForWidth())
        AddNewDialog.setSizePolicy(sizePolicy)
        AddNewDialog.setMinimumSize(QtCore.QSize(471, 254))
        AddNewDialog.setMaximumSize(QtCore.QSize(471, 254))
        self.gridLayout = QtGui.QGridLayout(AddNewDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(AddNewDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.name = QtGui.QLineEdit(AddNewDialog)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Comic Sans MS"))
        font.setPointSize(14)
        self.name.setFont(font)
        self.name.setText(_fromUtf8(""))
        self.name.setObjectName(_fromUtf8("name"))
        self.gridLayout.addWidget(self.name, 0, 2, 1, 3)
        self.label_3 = QtGui.QLabel(AddNewDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.tags = QtGui.QLineEdit(AddNewDialog)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Comic Sans MS"))
        self.tags.setFont(font)
        self.tags.setText(_fromUtf8(""))
        self.tags.setObjectName(_fromUtf8("tags"))
        self.gridLayout.addWidget(self.tags, 2, 2, 1, 3)
        self.label_2 = QtGui.QLabel(AddNewDialog)
        self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 4, 3, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 5, 0, 3, 1)
        self.date = QtGui.QCalendarWidget(AddNewDialog)
        self.date.setObjectName(_fromUtf8("date"))
        self.gridLayout.addWidget(self.date, 4, 2, 4, 2)
        self.buttonBox = QtGui.QDialogButtonBox(AddNewDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 7, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 1, 1, 1)

        self.retranslateUi(AddNewDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), AddNewDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), AddNewDialog.reject)
        QtCore.QObject.connect(self.tags, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), AddNewDialog.onTagsChanged)
        QtCore.QMetaObject.connectSlotsByName(AddNewDialog)
        AddNewDialog.setTabOrder(self.date, self.name)
        AddNewDialog.setTabOrder(self.name, self.tags)
        AddNewDialog.setTabOrder(self.tags, self.buttonBox)

    def retranslateUi(self, AddNewDialog):
        AddNewDialog.setWindowTitle(QtGui.QApplication.translate("AddNewDialog", "Edit person", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("AddNewDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("AddNewDialog", "Tags", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("AddNewDialog", "Date:", None, QtGui.QApplication.UnicodeUTF8))

